﻿using DotNetCommon.Extensions;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebApi.Controller
{
    [Route("/api/[controller]/[action]")]
    public class HomeController : ControllerBase
    {
        public HomeController()
        {

        }

        [HttpGet]
        public async Task<string> Get()
        {
            return await Task.FromResult($"{DateTime.Now.ToCommonStampString()} ok");
        }
    }
}
